import request from '@/request/request'

// 用户相关接口
export const userApi = {
  // 获取所有用户列表
  getAll: () => request.get('/produce/user/getAll'),
  
  // 分页查询用户
  list: (params) => request.get('/produce/user/list', { params }),
  
  // 根据ID查询用户
  getById: (id) => request.get(`/produce/user/getById/${id}`)
} 